﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BanVeXemPhim_Presentation
{
    public class NhanVienDTO
    {
        private string _idNhanVien;
        private string _hoTen;
        private string _cmnd;
        private DateTime _ngaySinh;
        private string _diaChi;
        private int _nhomNguoiDung;
        private string _username;
        private string _password;

        public string IdNhanVien
        {
            get { return _idNhanVien; }
            set { _idNhanVien = value; }
        }

        public string HoTen
        {
            get { return _hoTen; }
            set { _hoTen = value; }
        }

        public string CMND
        {
            get { return _cmnd; }
            set { _cmnd = value; }
        }

        public DateTime NgaySinh
        {
            get { return Convert.ToDateTime(_ngaySinh.ToShortDateString()); }
            set
            {
                _ngaySinh = value;

            }
        }

        public int NhomNguoiDung
        {
            get { return _nhomNguoiDung; }
            set { _nhomNguoiDung = value; }
        }

        public string Username
        {
            get { return _username; }
            set { _username = value; }
        }

        public string Password
        {
            get { return _password; }
            set { _password = value; }
        }

        public string DiaChi
        {
            get { return _diaChi; }
            set { _diaChi = value; }
        }
    }
}
